Conversation
|
Hiya, [01.04.2022 18:55:15] JS error: [https://xxx.xxx.xxx.xxx/rutorrent/ : 1] Uncaught SyntaxError: Unexpected token '<' when using your fork. |
|
Hi @Emsung, could you go to |
|
Hi @stickz, there is no info message in console, only in the log viewer of rutorrent main window. I'm running rutorrent 3.10, i've tried different forks and all give me the same error. When i remove the discordpush folder out of plugins rutorrent loads. When i rename discord.php i get the following message: |
|
This fixes #15 from the looks of things |
The utility functions were recently changed in ruTorrent. Novik/ruTorrent#2247 They are no longer in the global scope. It's required to access these static methods from their respective classes now.
This intention of this pull request is to make the rutorrent-discord plugin compatible with these changes.
Please note: I was not able to setup a testing environment for these changes. This means I was not able to test this PR. These changes can be tested by getting the latest master branch commit of ruTorrent here: https://github.com/Novik/ruTorrent
If any further changes are required or my changes do not work, please feel free to let me know.